<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="../js/angular.js"></script>
	</head>

	<body>
		
		
		<div ng-app="" ng-init="quantity=1;cost=5; person={firstName:'John',lastName:'Doe'}; points=[1,15,19,2,40]">
			<p>总价： {{ quantity * cost }}</p>
			<p>姓为 <span ng-bind="person.lastName"></span></p>
			<p>对象 {{ p }}</p>
			<p>第三个值为 {{ points[2] }}</p>
			<p>数组 {{ points }}</p>
		</div>

	</body>

</html>